import java.util.Scanner;

public class demo04 {
    Scanner scanner = new Scanner(System.in);
    public static void lf(){
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入第一个数：");
        double a = scanner.nextDouble();
        System.out.println("请输入第二个数：");
        double b = scanner.nextDouble();
        System.out.println("请输入第三个数：");
        double c = scanner.nextDouble();
        System.out.println("三个数的立方和为："+(a*a*a+b*b*b+c*c*c));
    }

    public static void main(String[] args) {
        lf();
    }
}
